.PHONY:all
all:server client1 client2 client3

server:server.cc
	g++ -o $@ $^ -std=c++11 -g
client1:client1.cc
	g++ -o $@ $^ -std=c++11 -g
client2:client2.cc
	g++ -o $@ $^ -std=c++11 -g
client3:client3.cc
	g++ -o $@ $^ -std=c++11 -g
	
.PHONY:clean
clean:
	rm -f server client1 client2 client3